package com.xy.bizportdemo;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

import com.xy.bizportdemo.conversation.MainActivity;

/**
 * Loading界面
 * Created by XIAOYUAN on 2016/11/29.
 */

public class SplashActivity extends Activity {

    private TextView mTvLoadingDot;
    private static final String[] LOADING_DOT = {"", "·", "··", "···","····","·····","······"};
    private static final int ANIM_TIME = 500;
    private static final int MIN_TIME = 1000;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        toMain();
    }

    private void toMain() {
        Intent intent = new Intent(this, MainActivity.class);
        startActivity(intent);
        finish();
    }
}
